﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.Member.Public.TProfile" %>
<style type="text/css">
</style>
<div class="common">
	<div id="new_body">
		<div id="body_900">
				<div class="submenu3"></div>
			<div id="body_left"></div>
			<div id="body_main">
				<%if (userInfo.MemberNo == ""){%>
				<div style="padding:50px; text-align:center">
					<div class="Black22B"><%=GetText("PB002")%></div>
				</div>
				<%}else{ %>
							<div class="title">
								<h1><%if (userInfo.Online){%><img src='/Images/online.gif' title= '<%=(bool)userInfo.Online == true ? GetText("C0038") : GetText("C0039")%>' align="absmiddle" /><%}else{ %><img src='/Images/offline.gif' title='<%=(bool)userInfo.Online == true ? GetText("C0038") : GetText("C0039")%>' align="absmiddle" /><%} %>&nbsp;<%=userInfo.Nickname%>&nbsp;&nbsp;<img src="/Images/fbapp_level_<%=teachm.StarRate.ToString("N0")%>.gif" title="Rating: <%=teachm.StarRate.ToString("N2")%>" /></h1>
							</div>
							<div class="profile_basicinfo">
								<div class="basicinfo_av">
									<div class="editpic"><ul><li><%=(userInfo.MemberNo==Page.User.Identity.Name)?"<a href='/my/profile/myphoto.htm'>":"<a href='#' title='"+GetText("PB010")+"' onclick='$Feedback$()'>"%><img src='<%=(userInfo.Avatar==""?"/Images/no_pic.gif":userInfo.Avatar)%>' width="150" height="150" border="0" /><!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table cellpadding="0" cellspacing="0" ><tr><td><![endif]--><ul><li><%=(userInfo.MemberNo==Page.User.Identity.Name)?"<a href='/my/profile/myphoto.htm'>"+GetText("C0053")+"</a>":"<a href='#' title='"+GetText("PB010")+"' onclick='$Feedback$()'>"+GetText("PB010")+"</a>"%></li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]--></li></ul></div>
								</div>
								<div class="basicinfo_lan">
									<span class="grey12"><%=teachm.TeacherType=="1"? "<span class='status_TEdisplay'>"+GetText("C0116") : "<span class='status_TUdisplay'>"+GetText("C0120") %></span> <%=userInfo.IsShowBod && userInfo.Age != "" ? userInfo.Age + ", " : ""%><%=userInfo.Gender != "" ? GetGenderText(userInfo.Gender) + ", " : ""%><%=GetText("C0102", new string[] { (userInfo.Hometown.Trim() + "") + (GetCountryText(userInfo.Nationality)) })%><%if (userInfo.Country != ""){ %>, living in <% if (userInfo.City.Trim() != ""){%><%=(userInfo.City.Trim() + " ")%><%}%><%=GetCountryText(userInfo.Country)%><%} %></span>
									<p class="text14">Teaches: <a href="<%=WWWHost %>/teacher/teach-<%=teachm.TLang1 %>.htm"><%=BLF.StaticData.GetLanguageText(teachm.TLang1)%></a><%=teachm.TLang2 == "" ? "" : ", <a href='" + WWWHost + "/teacher/teach-" + teachm.TLang2 + ".htm'>" + BLF.StaticData.GetLanguageText(teachm.TLang2) + "</a>"%><%=teachm.TLang3 == "" ? "" : ", <a href='" + WWWHost + "/teacher/teach-" + teachm.TLang3 + ".htm'>" + BLF.StaticData.GetLanguageText(teachm.TLang3) + "</a>"%><%=teachm.TLang4 == "" ? "" : ", <a href='" + WWWHost + "/teacher/teach-" + teachm.TLang4 + ".htm'>" + BLF.StaticData.GetLanguageText(teachm.TLang4) + "</a>"%></p>
									<p class="text14"><%=GetText("C0004")%>: </span><a href="<%=WWWHost%>/teacher/speak-<%=(userInfo.MotherTongue)%>.htm"><%=BLF.StaticData.GetLanguageText(userInfo.MotherTongue)%></a><em>(<%=GetText("C0023")%>)</em><% if (userInfo.MotherTongue2.Trim() != ""){%>, <a href="<%=WWWHost%>/teacher/speak-<%=(userInfo.MotherTongue2)%>.htm"><%=BLF.StaticData.GetLanguageText(userInfo.MotherTongue2)%></a><em><%=BLF.WWW_User.Users.User.GetLevelText(userInfo.MotherTongue2Level)%></em><%}%><% if (userInfo.MotherTongue3.Trim() != ""){%>, <a href="<%=WWWHost%>/teacher/speak-<%=(userInfo.MotherTongue3)%>.htm"><%=BLF.StaticData.GetLanguageText(userInfo.MotherTongue3)%></a><em><%=BLF.WWW_User.Users.User.GetLevelText(userInfo.MotherTongue3Level)%></em><%}%><% if (userInfo.MotherTongue4.Trim() != ""){%>, <a href="<%=WWWHost%>/teacher/speak-<%=(userInfo.MotherTongue4)%>.htm"><%=BLF.StaticData.GetLanguageText(userInfo.MotherTongue4)%></a><em><%=BLF.WWW_User.Users.User.GetLevelText(userInfo.MotherTongue4Level)%></em><%} %></p>
									<p><%=teachm.TeachExper%> years teaching experiences, </p>										
									<div><%=userInfo.Avatar_title == "" ? "" : "<div class='thoughtbox'><div><div><div><div>" + userInfo.Avatar_title + "</div></div></div></div></div>"%></div>
								</div>
							<%if (mymemberno != userInfo.MemberNo){ %>
								<div class="basicinfo_op">
									<p class="price" align="center"><span class="price_num"><%=teachm.Price.ToString("N0")%></span> ITC / hour&nbsp;&nbsp;<%=teachm.FreeTrial ? "(free trail)" : ""%></p>
									<div><%if (((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm){%><a href="<%=WWWHost %>/session/addasession.htm?tid=<%=userInfo.MemberNo %>" class="specgbtn profile_btnspec" style="text-decoration:none"><%}else{ %><a href="#" onclick="NotAffirm()" class="specgbtn profile_btnspec" style="text-decoration:none"><%} %><span>Request tutoring</span></a></div>
									<div class="profile_op">
										<div class="floatl" style="margin-right:5px"><img src="/Images/icon_add.gif" align="absmiddle" border="0" /></div>
										<div class="floatl Black12UU">
											<%if (UserRelation == 0){%><a href="#" id="KKK" title="<%=GetText("C0078")%>" <%=(((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm)?"onclick=\"$AddFriends$('"+userInfo.MemberNo+"','KKK')\"":"onclick=\"NotAffirm()\""%>><%=GetText("C0078")%></a><%}else{ %><span id="addToFriends" style="color:#ccc" title='<%=GetText("PB005",new string[]{userInfo.Nickname})%>'><%=GetText("C0078")%></span><%} %>
										</div>
										<div class="clear"></div>
									</div>
									<div class="profile_op">
										<div class="floatl" style="margin-right:5px"><img src="/Images/icon_common_mailbox.gif" align="absmiddle" border="0" /></div>
										<div class="floatl Black12UU">
										<%if (mymemberno == ""){ %><a href="#" title="<%=GetText("C0079")%>" onclick="javascript:top.location='/user/login.htm?ReturnUrl='+top.location;return false;"><%=GetText("C0079")%></a><%}else if ((userInfo.WhoMsg == "0" || userInfo.WhoMsg == "1" || (userInfo.WhoMsg == "2" && UserRelation == 1)) && mymemberno != userInfo.MemberNo){%><a href="#" <%=(((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm)?"onclick=\"$Getmail$('"+userInfo.MemberNo+"')\"":"onclick=\"NotAffirm()\""%> title="<%=GetText("C0079")%>"><%=GetText("C0079")%></a><%}else{ %><span id="Span3" style="color:#ccc" title="<%=GetText("PB009")%>"><%=GetText("C0079")%></span><%} %>
										</div>
										<div class="clear"></div>
									</div>
									<div class="profile_op">
										<div class="floatl" style="margin-right:5px"><img src="/Images/icon_chat.gif" align="absmiddle" border="0" /></div>
										<div class="floatl Black12UU">
										<%if (mymemberno == ""){ %><a href="#" onclick="javascript:top.location='/user/login.htm?ReturnUrl='+top.location;return false;"><%=GetText("C0080")%></a><%}else if ((userInfo.WhoChatMe == "0" || userInfo.WhoChatMe == "1" || (userInfo.WhoChatMe == "2" && UserRelation == 1)) && mymemberno != userInfo.MemberNo){%><a href="#" <%=(((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm)?"onclick=\"javascript: up_launchWM( '"+Page.User.Identity.Name.TrimStart('T').TrimStart('0')+"', '"+ userInfo.MemberNo.TrimStart('T').TrimStart('0')+"' ); return false;\"":"onclick=\"NotAffirm()\""%>><%=GetText("C0080")%></a><%}else{ %><span id="Span1" style="color:#ccc" title="<%=GetText("PB009")%>"><%=GetText("C0080")%></span><%} %>
										</div>
										<div class="clear"></div>
									</div>
								</div>						
							<%} %>
								<div class="cleartm"></div>
							</div>
				<div>
					<ul id="qa_nav" class="sort_sel">
						<li class="first selATags" style="cursor:pointer"><span>Profile</span></li>
						<li class="" style="cursor:pointer"><span><a href="<%=WWWHost%>/<%=userInfo.MemberNo %>T/details.htm">Details</a></span></li>
						<li class="" style="cursor:pointer"><span><a href="<%=WWWHost%>/<%=userInfo.MemberNo %>T/activity.htm">Activity</a></span></li>
						<li class="" style="cursor:pointer"><span><a href="<%=WWWHost%>/<%=userInfo.MemberNo %>T/blackboard.htm">Blackboard</a></span></li>
						<li class="" style="cursor:pointer"><span><a href="<%=WWWHost%>/<%=userInfo.MemberNo %>T/courses.htm">Courses</a></span></li>
						<li class="" style="cursor:pointer"><span><a href="<%=WWWHost%>/<%=userInfo.MemberNo %>T/feedback.htm">Feedback</a></span></li>
					</ul>
					<div class="clear"></div>							
					<!--latest-->
				</div>
				<div class="Center9001n">
					<div class="Center9001Left">
					<%if (uelist.Count > 0){ %>	
						<div class="right_layerA">
							<div class="layer_contentA">
								<h4>My Statistics</h4>
								<div class="layer_contentA5">
									<ul class="right_ulblack">
										<li><%=intlist[2]%> ratings</li>
										<li><%=userInfo.SessionCount%> sessions</li>
										<li><strong>Rating: <%=teachm.StarRate %> <img src="/Images/fbapp_level_<%=teachm.StarRate.ToString("N0")%>.gif" title="Rating: <%=teachm.StarRate.ToString("N2")%>" align="absmiddle" /></strong>
										<table width="100%" border="0" cellspacing="0" cellpadding="5">
												<tr>
													<td>Professional</td>
													<td align="right"><%=declist[0].ToString("N2") %></td>
												</tr>
												<tr>
													<td>Knowledge</td>
													<td align="right"><%=declist[1].ToString("N2")%></td>
												</tr>
												<tr>
													<td>Helpful</td>
													<td align="right"><%=declist[2].ToString("N2")%></td>
												</tr>
										</table>
										</li>
										<li><strong>Historical Ratings</strong>
										<table width="100%" border="0" cellspacing="0" cellpadding="5">
												<tr>
													<td>last 1 month</td>
													<td align="right"><%=declist[3].ToString("N2")%></td>
												</tr>
												<tr>
													<td>last 3 months</td>
													<td align="right"><%=declist[4].ToString("N2")%></td>
												</tr>
										</table>
										</li>
									</ul>
									<p align="right"><a href="<%=WWWHost%>/<%=userInfo.MemberNo %>T/feedback.htm">More</a></p>
								</div>
							</div>
						</div>
						<div class="right_layerA">
							<div class="layer_contentA">
							<h4><%=GetText("PB011")%></h4>
								<div id="EventList"  class="layer_contentA5">
									<ul class="right_ul">
									<asp:Repeater ID="rptLastEvent" runat="server">
										<ItemTemplate>
										<li><%# GetUserLastEventDescrip(Eval("CateID").ToString(),Eval("VarReplace").ToString())%></li>
										</ItemTemplate>
									</asp:Repeater>
									</ul>
								</div>
							</div>
						</div>
						<%} if (IsAgreeContInfo){%>
						<div class="right_layerA">
							<!--gallery list start-->
							<div class="layer_contentA">
								<h4><%=userInfo.Nickname%>'s friends(<%=intlist[0]%>)</h4>
								<div class="margin5">
									<asp:Repeater ID="rptMemberList" runat="server">
									<ItemTemplate>
									<div class="av_list">
										<div class="av_pic pic75"><a class="photo_75" href="<%# "/"+DataBinder.Eval(Container.DataItem,"MemberNo")+".htm"%>"><img src='<%#(DataBinder.Eval(Container.DataItem,"Avatar").ToString()==""?"/Images/no_pic.gif":DataBinder.Eval(Container.DataItem,"Avatar").ToString())%>' border="0"></a></div>
										<div class="av_info"><a href='<%# "/"+DataBinder.Eval(Container.DataItem,"MemberNo")+".htm"%>'><%#DataBinder.Eval(Container.DataItem,"Nickname")%></a></div>
										<div class="clear"></div>
									</div>
									</ItemTemplate>
									</asp:Repeater>
									<div class="clear"></div>
									<p align="right"><a href="<%=WWWHost%>/<%=userInfo.MemberNo %>/friends.htm"><%=GetText("PB102")%></a></p>
								</div>
							</div>
						</div>
						<%} %>
					</div>
					<div class="Center9001Right">
						<div class="Center9001content">
							<div class="profile_area">
								<div class="profile_aboutme">
									<div><%if(teachm.VideoCode.IndexOf("watch?v=")>0){ %>
					       <div>
					       <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/<%=teachm.VideoCode.Substring(teachm.VideoCode.IndexOf("=") + 1, teachm.VideoCode.Length - teachm.VideoCode.IndexOf("=") - 1) %>"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/<%=teachm.VideoCode.Substring(teachm.VideoCode.IndexOf("=") + 1, teachm.VideoCode.Length - teachm.VideoCode.IndexOf("=") - 1) %>" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
					       </div>
					    <%} %></div>
									<div><p><%if (userInfo.Introduction.Trim() == ""){%><%=GetText("C0025")%><br /><%}else{%><%=HttpUtility.HtmlEncode(userInfo.Introduction).Replace("\n", "<br/>")%><%}%></p></div>
									<p align="right"><a href="<%=WWWHost%>/<%=userInfo.MemberNo %>T/details.htm">More information</a></p>
								</div>
								<div>
									<h3><%=GetText("Time availability") %></h3>
									<div>
										<%if (TimeAvaila != null && TimeAvaila.Count > 0){%>
										<span class="grey11"><%=GetTimezoneText((Timezone != "" ? Timezone : TimeAvaila[0].Timezone))%></span><br />
										<ul class="profile_data">
										<% int tle = TimeAvaila.Count; for (int i = 0; i < tle; i++){if (i == 0){%><li><div class="profile_nonetoday"><%=BLF.WWW_User.Users.User.GetWeek(TimeAvaila[i].Week)%></div><div class="profile_nonetodaytime"><%=TimeAvaila[i].FromTime%>-<%=TimeAvaila[i].ToTime%><%}else if (TimeAvaila[i].Week != TimeAvaila[i - 1].Week && i != tle - 1){ %></div></li>
										<li><div class="profile_nonetoday"><%=BLF.WWW_User.Users.User.GetWeek(TimeAvaila[i].Week)%></div><div class="profile_nonetodaytime"><%=TimeAvaila[i].FromTime%>-<%=TimeAvaila[i].ToTime%><%}else if (i == tle - 1){ %><%if (TimeAvaila[i].Week == TimeAvaila[i - 1].Week){%><br /><%=TimeAvaila[i].FromTime%>-<%=TimeAvaila[i].ToTime%></div></li><%}else { %></div></li>
										<li><div class="profile_nonetoday"><%=BLF.WWW_User.Users.User.GetWeek(TimeAvaila[i].Week)%></div><div class="profile_nonetodaytime"><%=TimeAvaila[i].FromTime%>-<%=TimeAvaila[i].ToTime%></div></li><%}} %><%else if (TimeAvaila[i].Week == TimeAvaila[i - 1].Week){%><br /><%=TimeAvaila[i].FromTime%>-<%=TimeAvaila[i].ToTime%><%} %>
										<%} %>
										</ul>
										<div class="clear"></div>
										<%} %>
									</div>
								</div>
								<%if (userInfo.IsAgreeContInfo == "0" || (userInfo.IsAgreeContInfo == "1" && HttpContext.Current.User.Identity.Name != "") || (userInfo.IsAgreeContInfo == "2" && arrlist[0].ToString() == "1")){%>
								<div>
									<h4><%=userInfo.Nickname%>'s contact</h4>
									<%if (userInfo.IM1Account.Trim() == ""){%>
									<%}else{%>
									<a href="skype:<%=userInfo.IM1Account%>?call" onclick="return skypeCheck();"><img src="http://mystatus.skype.com/smallicon/<%=userInfo.IM1Account%>" border="0" align="absmiddle" /></a> Skype: <%=userInfo.IM1Account%><br />
									<%}%>
									<%if (userInfo.IM2Account.Trim() == ""){%>
									<%}else{%>
									<a href="msnim:chat?contact=<%=userInfo.IM2Account%>"><img src='/images/IMIcons/Msn_Offline.gif' border="0" align="absmiddle" /></a> MSN Messenger: <%=userInfo.IM2Account%><br />
									<%}%>
									<%if (userInfo.IM3Account.Trim() == ""){%>
									<%}else{%>
									<a href="http://edit.yahoo.com/config/send_webmesg?.target=<%=userInfo.IM3Account%>&amp;.src=pg"><img border="0" src="http://opi.yahoo.com/online?u=<%=userInfo.IM3Account%>&amp;m=g&amp;t=0&amp;l=cn" align="absmiddle" /></a> Yahoo Messenger: <%=userInfo.IM3Account%><br />
									<%}%>
									<%if (userInfo.IM4Account.Trim() == ""){%>
									<%}else{%>
									<img src='/images/IMIcons/aim_Offline.gif' border="0" align="absmiddle" /> AOL Instant Messenger: <%=userInfo.IM4Account%><br />
									<%}%>
									<%if (userInfo.IM5Account.Trim() == ""){%>
									<%}else{%>
									<img src="http://status.icq.com/online.gif?icq=<%=userInfo.IM5Account%>&img=5" align="absmiddle"> ICQ: <%=userInfo.IM5Account%><br />
									<%}%>
									<%if (userInfo.IM6Account.Trim() == ""){%>
									<%}else{%>
									<img src='/images/IMIcons/gtalk_Online.gif' border="0" align="absmiddle" /> Google Talk: <%=userInfo.IM6Account%>
									<%}%>
								</div>
								<%} %>
							</div>
							<%if(rptqm.Items.Count>0){ %>
							<div class="profile_area">
								<asp:Repeater ID="rptqm" runat="server">
								<HeaderTemplate>
								<h3><%=GetText("AS020")%></h3>
								<div>
									<ul class="myhome_update">
									</HeaderTemplate>
									<ItemTemplate>
										<li><span class="floatl"><a href="/answers/question/<%#Eval("QuestionID") %>.htm" title="<%#HttpUtility.HtmlAttributeEncode(Eval("Question").ToString())%>"><img src="<%#QStatusImage(Eval("Status").ToString())%>" align="absmiddle" border="0" /></a> <a href="/answers/question/<%#Eval("QuestionID") %>.htm"><%#HttpUtility.HtmlEncode(Eval("Question").ToString())%></a></span><span class="floatr grey11"><%#FormatDiffDate(GetText("C0037"), Eval("DiffLastUpdate").ToString())%></span><div class="clear"></div></li>
									</ItemTemplate>
									<FooterTemplate>
									</ul>
									<p align="right"><a href="<%=WWWHost %>/<%=userInfo.MemberNo %>T/questions.htm"><%=GetText("More Q&A", new string[] {userInfo.Nickname})%></a></p>
								</div>
								</FooterTemplate>
								</asp:Repeater>
							</div>
							<%} %>
							<div class="profile_area">
								<% if (userInfo.WhoViewComment == "0" || (userInfo.WhoViewComment == "1" && HttpContext.Current.User.Identity.Name != "") || (userInfo.WhoViewComment == "2" && arrlist[0].ToString() == "1")){%>
									<h3><a name="#comment"></a><%=GetText("PB060")%><span dir="ltr" id="comcount">(<%=intlist[1]%>)</span></h3>
									<p align="right">
									<%if(userInfo.WhoAddComment == "0" || (userInfo.WhoAddComment == "1" && HttpContext.Current.User.Identity.Name != "") || (userInfo.WhoAddComment == "2" && arrlist[0].ToString() == "1")){ %>
									<a href="javascript:;" onclick="$scroller$('txtCommInput',100)">Add your comment</a>
									<%} %>
									</p>
									<div id="Comment">
										<div id="MessagesBox"  style="display:none">
											<div class="MessagePanel4">
												<img id="MessageImg" src="/images/ico_info.gif" style="border-width: 0px;">
												<div id="MessageText"></div>
											</div>
										</div>
										<div id="CommentList">
										<asp:Repeater ID="userComment" runat="server" >
											<ItemTemplate>
											<div class="my_comment">
												<div class="my_comment_avatar Pic50"><A class="photo_50" href='<%#DataBinder.Eval(Container.DataItem, "userFrom","/{0}.htm").ToString()%>' ><img src='<%#(DataBinder.Eval(Container.DataItem,"Avatar").ToString()==""?"/Images/no_pic.gif":DataBinder.Eval(Container.DataItem,"Avatar").ToString())%>'></A></div>
												<div class="my_comment_Bacontent">
													<div class="my_comment_acontent"><span class="grey11"><a href='<%#DataBinder.Eval(Container.DataItem, "userFrom","/{0}.htm").ToString()%>' ><%#DataBinder.Eval(Container.DataItem, "NickName")%></a> <%#FormatDiffDate(GetText("C0036"), Eval("DiffDate").ToString())%></span><div class="margin5"><%#HttpUtility.HtmlEncode(DataBinder.Eval(Container.DataItem, "content").ToString()).Replace("\n", "<br/>")%></div></div>
													<div class="clear"></div>
												</div>
												<div class="Clear"></div>
											</div>
											</ItemTemplate>
										</asp:Repeater>
										</div>
										<p align="right"><a href="<%=WWWHost%>/<%=userInfo.MemberNo %>T/blackboard.htm">More comments</a></p>
										<%} if(userInfo.WhoAddComment == "0" || (userInfo.WhoAddComment == "1" && HttpContext.Current.User.Identity.Name != "") || (userInfo.WhoAddComment == "2" && arrlist[0].ToString() == "1")){%>
										<div id="CommentContent">
											<p><a name="#commentpost"></a><%=GetText("PB061")%></p>
											<span id="valContent" style="color: Red; display: none;" class="red10" ><%=GetText("C1009")%></span>
											<p><textarea id="txtCommInput" class="common100D" rows="5" onclick="erclose()"></textarea></p>
											<p><input id="btnCommInput" class="button" type="button" value="<%=GetText("C0046")%>"  <%=(((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm)?"onclick=\"AddComm()\"":"onclick=\"NotAffirm()\""%>/></p>
										</div>
										<%} %>
									</div>
								
								<p class="grey11" style="display:none">The main purposes of <%=HttpUtility.HtmlEncode(userInfo.Nickname)%> at italki are <a href="<%=WWWHost %>/teacher/teach-<%=teachm.TLang1 %>.htm">Teach <%=BLF.StaticData.GetLanguageText(teachm.TLang1)%></a> and <a href="<%=WWWHost%>/partner/speak-<%=userInfo.MotherTongue%>.htm">speak <%=BLF.StaticData.GetLanguageText(userInfo.MotherTongue)%></a>. Emma is one <a href="<%=WWWHost %>/teacher/teach-<%=teachm.TLang1 %>.htm"><%=BLF.StaticData.GetLanguageText(teachm.TLang1)%> teacher</a>.</p>
							</div>
						</div>
			  		</div>
					<div class="clear"></div>
					<div style="margin:20px 0px 0px 0px; padding:10px; text-align:left; width:880px!important;width:898px;">
						<h4><%=GetText("PB016",new string[]{GetLanguageText(teachm.TLang1)})%></h4>
						<div>
							<asp:Repeater ID="rptMember2List" runat="server">
							<ItemTemplate>
							<div class="margin10" style="width:110px; margin-right:10px; float:left; text-align:center">
								<div class="pic90" style="margin:0 auto; width:100px"><a class="photo_90" href="<%# "/"+DataBinder.Eval(Container.DataItem,"MemberNo")+".htm"%>"><img src='<%#(DataBinder.Eval(Container.DataItem,"Avatar").ToString()==""?"/Images/no_pic.gif":DataBinder.Eval(Container.DataItem,"Avatar").ToString())%>' border="0"></a></div>
								<div class="wid100"><a href='<%# ("/"+DataBinder.Eval(Container.DataItem,"MemberNo")+".htm")%>'><%#HttpUtility.HtmlAttributeEncode(DataBinder.Eval(Container.DataItem,"NickName").ToString())%></a><p class="grey11"><%#GetText("C0102", new string[] { BLF.StaticData.GetCountryText(DataBinder.Eval(Container.DataItem, "Nationality").ToString()) })%></p></div>
								<div class="clear"></div>
							</div>
							</ItemTemplate>
							</asp:Repeater>
							<div class="clear"></div>
						</div>
					</div>
		  		</div>
		  		<%} %>
	  		</div>
			<div id="body_right"></div>
			<div class="clear"></div>
  		</div>
		<div id="body_900F"></div>
	</div>
</div>
<div id="CommentTemplate" style="display: none">
	<div class="my_comment">
		<div class="my_comment_avatar Pic50" align="center"><a class="photo_50" href='/$userFrom$.htm'>$Avatar$</a></div>
		<div class="my_comment_Bacontent">
			<div class="my_comment_acontent"><span class="grey10"><a href='/$userFrom$.htm'>$NickName$</a> $createDate$</span><p>$content$</p></div>
			<div class="clear"></div>
		</div>
		<div class="Clear"></div>
	</div>
</div>
<script>
 var Memberno="<%=memberno %>";
 var gDateFormat = "<%=GetText("C0033")%>";
var gStrDate2 = "<%=GetText("C0036")%>";
var _tti="<%=arrlist[8].ToString()%>";
var TP017="<%=GetText("TP017") %>";
var TP018="<%=GetText("TP018") %>";
var TP019="<%=GetText("TP019") %>";
var TP020="<%=GetText("TP020") %>";
var TP021="<%=GetText("TP021") %>";
var TP022="<%=GetText("TP022") %>";
var TP023="<%=GetText("TP023") %>";
</script>
